<?php $hasError=false;if(!filter_has_var(INPUT_GET,'modrid')){$hasError=true;}else{$captchaId='captcha_'.$_GET['modrid'];if(!$this->sessionData('qarid_'.$_GET['modrid'])){$hasError=true;}}if($hasError){header('Content-Type:image/jpg');$img=imagecreate(1,1);imagefill($img,0,0,imagecolorallocate($img,255,255,255));imagejpeg($img);imagedestroy($img);}else{$code=$this->helper("SecurityCode");$code->send();$this->sessionData($captchaId,$code->getCaptcha());}?>